package com.ym.medical.dao;

import com.ym.medical.domain.entity.PatientHealthRecordsEntity;
import com.ym.medical.domain.param.PatientHealthRecordsParam;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 患者健康记录Dao接口
 *
 * @author ym
 * @date 2020-08-24
 */
@Repository
public interface PatientHealthRecordsDao extends Mapper<PatientHealthRecordsEntity> {

	/***
	 * 患者档案
	 * @param patientId
	 * @return
	 */
	PatientHealthRecordsEntity selectArchives(Long patientId);

	/**
	 * 患者健康档案列表
	 * @param patientHealthModel
	 * @return
	 */
	List<PatientHealthRecordsEntity> patientHealthList(PatientHealthRecordsParam patientHealthModel);

}
